Post

Replies

Boosts

Views

Activity

Advances in Collection View Layout - itemSize
Section video link: https://developer.apple.com/videos/play/wwdc2019/215/ Hi everyone, I recently watched the WWDC 19 section on UICollectionViewLayout and something with dimension confuses me. At 27:27, the code shows that the value for the widthDimension of itemSize is set to 0.2 instead of 1.0 in the previous example (time stamp: 26:30). I wonder in the case of the top list layout wouldn't the cells be shrunk when the value is = 0.2? Since the sample source code is replaced by the newer version from WWDC 20. I don't have the chance to test it out by myself.
0
0
452
Sep ’20